import 'package:flutter/material.dart';
import 'package:incidentmanager/common/resource/colors.dart';
import 'package:incidentmanager/common/resource/dimens.dart';

class TextStyles {
  static TextStyle listTitle = TextStyle(
    color: AppColors.TITLE_TEXT,
    fontSize: Dimens.font_sp16,
    fontWeight: FontWeight.w400,
  );

  static TextStyle listContent = TextStyle(
    fontSize: Dimens.font_sp16,
    color: AppColors.REGULAR_TEXT,
    fontWeight: FontWeight.w400,
  );

  static TextStyle listExtra = TextStyle(
    fontSize: Dimens.font_sp16,
    color: AppColors.REGULAR_TEXT,
    fontWeight: FontWeight.w400,
  );
}

/// 间隔
class Gaps {
  /// 水平间隔
  static Widget hGap5 = new SizedBox(width: Dimens.gap_dp5);
  static Widget hGap12 = new SizedBox(width: Dimens.gap_dp12);
  static Widget hGap15 = new SizedBox(width: Dimens.gap_dp15);

  /// 垂直间隔
  static Widget vGap5 = new SizedBox(height: Dimens.gap_dp5);
  static Widget vGap12 = new SizedBox(height: Dimens.gap_dp12);
  static Widget vGap15 = new SizedBox(height: Dimens.gap_dp15);
}
